﻿@model Adams.Web.Models.Announcements.Index.PageLoad
@{
    Layout = "~/Views/Shared/_AppLayout.Mobile.cshtml";
}
@section Head{
}
@section Scripts {
}
<h1>
    Announcements</h1>
@foreach (var announcement in Model.Announcements)
{
    <p>
        @if (announcement.Link.Length == 0)
        {
            <span><strong><a href="/announcements/@Adams.Shared.UrlHelper.Enc(announcement.Title)">@announcement.Title</a></strong></span><br />
        }
        else
        {
            <span><strong>@announcement.Title</strong></span><br />
        }
        <span>@announcement.ShortDescription</span><br />
        <span>@Html.Raw(announcement.LongDescription)</span><br />
    </p>
    <hr />
}
